/* 去除所有边距 */
*{
    margin: 0;
    padding: 0;
}
body{
    background-image: url("./image/小屋-雪.png");
    background-size: cover;
}
a{
    text-decoration: none;
}
header{
    height: 100px;
    background-color: rgba(0, 0, 0, 0.65);

    /* 开启flex布局 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; 
}
header nav a{
    color: white;
    font-size: 20px;
    border: 1px solid white;
    padding: 5px;
    margin-right: 30px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}
header nav a:hover{
    box-shadow: 0 0 10px white;
}
.main{
    /* 计算主页面高度  视口高度 - 头部高度 */
    height: calc(100vh - 100px);
    /*开启flex布局*/
    display: flex;

}
.main .content{
    width: 1000px;
    height: 300px;
    /* background-color: skyblue; */
    margin: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.main .content .item{
    width: 150px;
    height: 200px;
    /* background-color: orange; */
    background-color: rgba(255, 255, 255, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 10px;
    transition: 0.3s;
}

.main .content .item:hover{
    cursor: pointer;
    box-shadow: 0 0 30px black;
}
.content .item img{
    width: 100px;
    display: flex;
}

.content .item span{
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 10px;
    letter-spacing: 5px;
}